import React, { useEffect, useRef, useState } from "react";
import "./Hero.css";
import axios from "axios";
import Search from "./Search";
import HeroList from "./HeroList";

export default function Hero() {
  return (
    <div className="hero-container">
      <h1>英雄列表</h1>
      <hr />
      <Search />
      <hr />
      <HeroList />
    </div>
  );
}
